package com.halflife.framework.participant;

import com.halflife.framework.domain.BaseDomain;
import com.halflife.framework.generator.annotation.Join;
import com.halflife.framework.generator.annotation.QueryAnn;

/**
 * Created by Administrator on 2018/11/18.
 */
@QueryAnn(mainTitle = "老师管理班级", title = "教师管理班级", table = "t_teacherChargeTeam")
public class TeacherChargeTeam extends BaseDomain {

    @QueryAnn(value = "老师ID")
    private Integer teacherId;

    @QueryAnn(value = "老师")
    @Join()
    private Teacher teacher;

    @QueryAnn(value = "班级ID")
    private Integer teamId;

    @QueryAnn(value = "班级")
    @Join(join = "",joinType = "I")
    private Team team;

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public Team getTeam() {
        return team;
    }

    public void setTeam(Team team) {
        this.team = team;
    }
}
